package com.NHL.single
{
	import com.NHL.events.GlobalEvent;
	
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	
	public class GlobalNotifier extends EventDispatcher
	{
		private static var _inst:GlobalNotifier
		public static function getInstance():GlobalNotifier
		{
			return _inst||(_inst = new GlobalNotifier());
		}
		public function GlobalNotifier(target:IEventDispatcher=null)
		{
			super(target);
		}
		
		public function send(str:String,data:Object):void
		{
			dispatchEvent(new GlobalEvent(str,data));
		}
	}
}